package com.jyniubi.gmall.cart.api;

import com.jyniubi.gmail.common.bean.ResponseVo;
import com.jyniubi.gmall.cart.entity.CartEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

public interface GmallCartApi {
    @GetMapping("check/{userId}")
    @ResponseBody
    ResponseVo<List<CartEntity>> queryCheckedCarts(@PathVariable("userId")Long userId);
}
